//
//	CCResult.m
//
//	Create by 曹 曹 on 10/8/2016
//	Copyright © 2016. All rights reserved.
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "CCResult.h"
#import "CCMetalist.h"

@interface CCResult ()
@end
@implementation CCResult

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"metalist"]) {
        NSMutableArray *array = [NSMutableArray array];
        for (NSDictionary *dictionary in value) {
            CCMetalist *metalist = [CCMetalist modelWithDictionary:dictionary];
            [array addObject:metalist];
        }
        _metalist = array;
    }
}

@end
